#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
path = 'f:\\1.txt'
file_name = os.path.basename(path)
file_size=os.stat(path).st_size
sendformat=file_name+'|'+str(file_size)
print sendformat


'abc'.count('a')